package com.evl.common.persistence.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import java.util.Date;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 车辆表
 * </p>
 *
 * @author yangliwei
 * @since 2017-06-30
 */
public class Vehicle extends Model<Vehicle> {


   	private static final long serialVersionUID = 766880160575271404L;
	/**
     * id
     */
	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 车辆类型
     */
	@TableField("vehicle_type")
	private Integer vehicleType;
    /**
     * 车次
     */
	@TableField("vehicle_no")
	private String vehicleNo;
    /**
     * 发车时刻
     */
	@TableField("depart_time")
	private String departTime;
    /**
     * 到达时刻
     */
	@TableField("arr_time")
	private String arrTime;
    /**
     * 始发站
     */
	private String departure;
    /**
     * 终点站
     */
	private String terminus;
    /**
     * 耗时
     */
	@TableField("cost_time")
	private String costTime;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getVehicleType() {
		return vehicleType;
	}

	public void setVehicleType(Integer vehicleType) {
		this.vehicleType = vehicleType;
	}

	public String getVehicleNo() {
		return vehicleNo;
	}

	public void setVehicleNo(String vehicleNo) {
		this.vehicleNo = vehicleNo;
	}

	public String getDepartTime() {
		return departTime;
	}

	public void setDepartTime(String departTime) {
		this.departTime = departTime;
	}

	public String getArrTime() {
		return arrTime;
	}

	public void setArrTime(String arrTime) {
		this.arrTime = arrTime;
	}

	public String getDeparture() {
		return departure;
	}

	public void setDeparture(String departure) {
		this.departure = departure;
	}

	public String getTerminus() {
		return terminus;
	}

	public void setTerminus(String terminus) {
		this.terminus = terminus;
	}

	public String getCostTime() {
		return costTime;
	}

	public void setCostTime(String costTime) {
		this.costTime = costTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
